﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Navegacion.ascx.cs"
    Inherits="WebArchivosTelefonica.Navegacion" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<style type="text/css">
/*Hover Menu*/
.popupMenu {
	position:absolute;
	visibility:hidden;
	background-color:#F5F7F8;
	opacity:.9;
	filter: alpha(opacity=90);
}
</style>

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<table style="border-width: 0px; border-style: inherit; width: 100%; font-family: Book Antiqua;
    background-color: #6699FF;">
    <tr>
        <td>
            <asp:Button ID="ButtonDocumentos" runat="server" Text="Documentos" BorderColor="#999999"
                BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="99px" Font-Bold="True"
                Font-Size="X-Small" Font-Names="Verdana" UseSubmitBehavior="False" />
            <cc1:HoverMenuExtender ID="ButtonDocumentos_HoverMenuExtender" runat="server" DynamicServicePath=""
                Enabled="True" TargetControlID="ButtonDocumentos" PopupControlID="PopupMenuDocumentos"
                PopupPosition="Bottom">
            </cc1:HoverMenuExtender>
            <asp:Panel ID="PopupMenuDocumentos" runat="server" CssClass="popupMenu">
                <asp:Button ID="BotonSubirArchivos" runat="server" Text="Archivos" BorderColor="#999999"
                    BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="145px" Font-Bold="True"
                    Font-Size="X-Small" PostBackUrl="~/Archivos.aspx" Font-Names="Verdana" UseSubmitBehavior="False" />
                <br />
                <asp:Button ID="BotonBuscarCandidato" runat="server" Text="Buscar candidato" BorderColor="#999999"
                    BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="145px" Font-Bold="True"
                    Font-Size="X-Small" PostBackUrl="~/BusquedaCandidatos.aspx" Font-Names="Verdana"
                    TabIndex="2" UseSubmitBehavior="False" />
            </asp:Panel>
           <%-- <asp:Button ID="ButtonReportes" runat="server" Text="Reportes" BorderColor="#999999"
                BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="99px" Font-Bold="True"
                Font-Size="X-Small" Font-Names="Verdana" UseSubmitBehavior="False" />
            <cc1:HoverMenuExtender ID="ButtonReportes_HoverMenuExtender" runat="server" DynamicServicePath=""
                Enabled="True" TargetControlID="ButtonReportes" PopupControlID="PopupMenuReportes"
                PopupPosition="Bottom">
            </cc1:HoverMenuExtender>
            <asp:Panel ID="PopupMenuReportes" runat="server" CssClass="popupMenu">
                <asp:Button ID="BotonGenerarReporte" runat="server" Text="Reporte Documentos" BorderColor="#999999"
                    BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="145px" Font-Bold="True"
                    Font-Size="X-Small" OnClick="BotonGenerarReporte_Click" Font-Names="Verdana"
                    TabIndex="1" UseSubmitBehavior="False" />
                <br />
                <asp:Button ID="BotonGenerarReporteCostos" runat="server" Text="Reporte Costos" BorderColor="#999999"
                    BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="145px" Font-Bold="True"
                    Font-Size="X-Small" OnClick="BotonGenerarReporteCostos_Click" Font-Names="Verdana"
                    TabIndex="1" UseSubmitBehavior="False" />
            </asp:Panel>--%>
            <asp:Button ID="ButtonUsuarios" runat="server" Text="Usuario" BorderColor="#999999"
                BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="99px" Font-Bold="True"
                Font-Size="X-Small" Font-Names="Verdana" TabIndex="1" UseSubmitBehavior="False" />
            <cc1:HoverMenuExtender ID="ButtonUsuarios_HoverMenuExtender" runat="server" DynamicServicePath=""
                Enabled="True" TargetControlID="ButtonUsuarios" PopupControlID="PopupMenuUsuario"
                PopupPosition="Bottom">
            </cc1:HoverMenuExtender>
            <asp:Panel ID="PopupMenuUsuario" runat="server" CssClass="popupMenu">
                <asp:Button ID="BotonCambiarContraseña" runat="server" Text="Cambiar contraseña"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF"
                    Width="145px" Font-Bold="True" Font-Size="X-Small" PostBackUrl="~/CambiarContraseña.aspx"
                    Font-Names="Verdana" TabIndex="3" UseSubmitBehavior="False" />
                <br />
                <asp:LoginView ID="LoginViewAdministrador" runat="server">
                    <RoleGroups>
                        <asp:RoleGroup Roles="Administrador">
                            <ContentTemplate>
                                <asp:Button ID="BotonAdministrarUsuarios" runat="server" Text="Editar Usuarios" BorderColor="#999999"
                                    BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="145px" Font-Bold="True"
                                    Font-Size="X-Small" Font-Names="Verdana" PostBackUrl="~/ListadoUsuarios.aspx"
                                    OnInit="BotonAdministrarUsuarios_Init" OnLoad="BotonAdministrarUsuarios_Load"
                                    TabIndex="4" UseSubmitBehavior="False" />
                                <br />
                                <asp:Button ID="BotonCrearUsuarios" runat="server" Text="Crear Usuarios" BorderColor="#999999"
                                    BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="145px" Font-Bold="True"
                                    Font-Size="X-Small" Font-Names="Verdana" PostBackUrl="~/NuevoUsuario.aspx" OnInit="BotonCrearUsuarios_Init"
                                    OnLoad="BotonCrearUsuarios_Load" TabIndex="5" UseSubmitBehavior="False" />
                            </ContentTemplate>
                        </asp:RoleGroup>
                    </RoleGroups>
                </asp:LoginView>
            </asp:Panel>
            <asp:Button ID="ButtonAdministracion" runat="server" Text="Admin" BorderColor="#999999"
                BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF" Width="99px" Font-Bold="True"
                Font-Size="X-Small" Font-Names="Verdana" TabIndex="1" 
                UseSubmitBehavior="False" PostBackUrl="~/Administracion.aspx" />
            <cc1:HoverMenuExtender ID="HoverMenuExtenderAdmin" runat="server" DynamicServicePath=""
                Enabled="True" TargetControlID="ButtonAdministracion" PopupControlID="PopUpMenuAdmin"
                PopupPosition="Bottom">
            </cc1:HoverMenuExtender>
            <asp:Panel ID="PopUpMenuAdmin" runat="server" CssClass="popupMenu">
                <asp:Button ID="ButtonClientes" runat="server" Text="Clientes"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF"
                    Width="145px" Font-Bold="True" Font-Size="X-Small" PostBackUrl="~/Clientes.aspx"
                    Font-Names="Verdana" TabIndex="3" UseSubmitBehavior="False" />
                <br />
                <asp:Button ID="ButtonProyectos" runat="server" Text="Proyectos"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="2px" BackColor="#6699FF"
                    Width="145px" Font-Bold="True" Font-Size="X-Small" PostBackUrl="~/Proyectos.aspx"
                    Font-Names="Verdana" TabIndex="3" UseSubmitBehavior="False" />
                
            </asp:Panel>
        </td>
        <td style="text-align: right;">
            <asp:Label ID="Label1" runat="server" Text="Usuario: " Font-Names="Verdana" Font-Size="X-Small"></asp:Label>
            <asp:LoginName Font-Names="Verdana" Font-Size="X-Small" ID="LoginName1" runat="server" />
            <asp:LoginStatus Font-Names="Verdana" Font-Size="X-Small" ID="LoginStatus1" 
                runat="server" LogoutAction="RedirectToLoginPage" />
        </td>
    </tr>
</table>
